package app;

import beandefinition.CustomAopBeanPostProcessor;
import org.springframework.context.annotation.*;
import org.springframework.core.annotation.AliasFor;
import service.AService;
import service.Hhtest;

/**
 * description:
 * <p>
 * change history:
 * date             defect#             person             comments
 * ---------------------------------------------------------------------------------------------------------------------
 * 2019/11/27          ********            lightyh                create file
 *
 * @author: light
 * @date: 2019/11/27 23:31
 * @copyright: 2019, FA Software (Shanghai) Co., Ltd. All Rights Reserved.
 */
@ComponentScan(value = "beandefinition")
@Import(CustomAopBeanPostProcessor.class)
@EnableAspectJAutoProxy
public class AppConfig {

//	@Bean
////	@Scope("prototype")
//	public AService aService(){
//		return new AService();
//	}
//
//	@Bean
//	public Hhtest hhtest(){
//		return new Hhtest(){
//
//			@Override
//			public AService getPrototype() {
//				return aService();
//			}
//		};
//	}

}